// import { mustAuth } from '../utils/Auth'
import request from '../utils/Request'

export function apiGetIndexInfo() {
  // mustAuth().then(() => {
  return request.fetch({
    url: 'index',
    method: 'GET',
  })
  // })
}

export function apiGetIndexItemProduct(params) {
  return request.fetch({
    url: 'index/itemProduct',
    method: 'GET',
    params: params,
  })
}
